VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Processing Namespace / CompositeProcessingCommand<TTarget> Class / ConvertTarget Methods / ConvertTarget<TSourceTarget>(String,IProcessingCommand<TSourceTarget>[]) Method
Syntax Requirements SeeAlso
In This Topic
    ConvertTarget<TSourceTarget>(String,IProcessingCommand<TSourceTarget>[]) Method (CompositeProcessingCommand<TTarget>)
    In This Topic
    Creates the retargeted composite command with specified target type.
    Syntax
    'Declaration
    
    Public Overloads Shared Function ConvertTarget<TSourceTarget
    The type of source target.
    >( _
    ByVal name
    The name of processing command.
    As System.String, _
    ByVal ParamArray commands
    Array of processing commands to retargeting.
    As IProcessingCommand(Of TTarget) _
    ) As IProcessingCommand(Of TTarget) (Of TSourceTarget
    The type of source target.
    )
    public static IProcessingCommand<TTarget> ConvertTarget<TSourceTarget>(
    System.String name,
    params IProcessingCommand<TTarget> commands
    )
    public: static IProcessingCommand<TTarget*>* ConvertTarget<TSourceTarget>(
    System.String name,
    params IProcessingCommand<TTarget*>* commands
    )
    generic<typename TSourceTarget>
    public:
    static IProcessingCommand<TTarget^>^ ConvertTarget(
    System.String name,
    ... IProcessingCommand<TTarget^>^ commands
    )

    Parameters

    name
    The name of processing command.
    commands
    Array of processing commands to retargeting.

    Type Parameters

    TSourceTarget
    The type of source target.

    Return Value

    Processing command with new target type.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also